#pragma once
// Put this in a separate .h file (called "getopt.h").
// The prototype for the header file is:
#ifndef GETOPT_H
#define GETOPT_H

extern int opterr,		// if error message should be printed 
			optind,		// index into parent argv vector 
			optopt,		// character checked for validity 
			optreset;	// reset getopt 
extern char *optarg;	// argument associated with option 

int getopt(int nargc, char * const nargv[], const char *ostr) ;

#endif


